package com.ruoyi.device.domain;

import lombok.Data;

/**
 * 添加借用信息是，输入设备信息时会实现自动补全功能的实体类
 * @auth
 * @date
 */
@Data
public class QueryDevice {
    private Long deviceId;
    private String deviceName;
    private String deviceModel;
    private String value;

    public QueryDevice (Long deviceId, String deviceName, String deviceModel){
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.deviceModel = deviceModel;
        this.value = deviceName + "(" + deviceModel + ")";
    }
}
